-
Notifications
You must be signed in to change notification settings - Fork 463
[Microsoft SQLServer] Add support for list of Dynamic Counter values #14153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🚀 Benchmarks reportTo see the full report comment with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
💚 Build Succeeded
History
cc @muthu-mps |
|
@@ -43,8 +43,12 @@ sql_queries: | |||
response_format: table | |||
- query: "SELECT cntr_value As 're_compilations_per_sec' FROM sys.dm_os_performance_counters WHERE counter_name = 'SQL Re-Compilations/sec'" | |||
response_format: table | |||
- query: "SELECT counter_name, cntr_value FROM sys.dm_os_performance_counters WHERE counter_name like '{{dynamic_counter_name}}'" | |||
{{#if dynamic_counter_name}} | |||
{{#each dynamic_counter_name as | dynamic_counter i|}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we intend to use "i" anywhere, else remove it.
Please see this issue for more details.
This PR adds capability to pass list of dynamic counter values. This way user has more flexibility to add multiple values as input to fetch the desired metrics.
This change introduces a breaking update, which is why we are releasing a new major version. Users will need to manually remove the dynamic counter input from the UI, upgrade the integration, and then re-add the dynamic counters. This is necessary because the input parameter type has changed from text to array.
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues